﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="EmptyArray.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Container for static empty instances of array types.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.Collections
{
    /// <summary>
    /// Container for static empty instances of array types.
    /// </summary>
    /// <typeparam name="T">The type of array.</typeparam>
    public class EmptyArray<T>
    {
        /// <summary>
        /// The empty instance
        /// </summary>
        public static readonly T[] Instance = new T[0];
    }
}